<template>
	<view>
		<HeaderNav title="首页" type="none" color="#fff"  />
		<button @click="golist()">点击跳转页面</button>
		<Modal :show="show" @close="close" closeable title="提示"  @confirm.once="confirm"   content="人生若只如初见，何事秋风悲画扇,人生若只如初见，何事秋风悲画扇,v,人生若只如初见，何事秋风悲画扇,人生若只如初见，何事秋风悲画扇"></Modal>
		<up-button @click="show = true">打开</up-button>
		<TabBar></TabBar>
	</view>
</template>

<script setup>
	import {
		ref,
		toRefs,
		reactive,
		computed,
	} from "vue";
	import {
		onLoad,
		onShow,
		onReady
	} from '@dcloudio/uni-app'
	import HeaderNav from '@/components/HeaderNav/HeaderNav.vue'
	import TabBar from '@/components/TabBar/TabBar.vue'
	import Modal from '@/components/Modal/Modal.vue'
	onLoad(() => {

	})
	const show = ref(false);
	const title = ref('标题');
	const content = ref('');
	const golist = () => {
		uni.navigateTo({
			url: '/page/intercity/list/index'
		})
	}
	const close=()=>{
		show.value=false
	}
	const confirm=()=>{
		show.value=false
	}

</script>

<style>

</style>